package com.boco.transnms.server.bo.ibo.traph;

import com.boco.transnms.server.bo.base.IBusinessObject;
import com.boco.common.util.except.UserException;
import com.boco.transnms.common.dto.base.BoActionContext;
import com.boco.transnms.common.dto.base.DataObjectList;
import com.boco.transnms.common.dto.QueryDDFCheckTaskDO;
import com.boco.transnms.common.dto.base.BoQueryContext;
import com.boco.transnms.common.dto.base.DboCollection;
import com.boco.transnms.common.dto.TraphBackupTask;
import java.util.Map;
import com.boco.transnms.common.dto.Traph;

public interface ITraphAutoBackupBO extends IBusinessObject{
    void modifyTask(BoActionContext actionContext, Map map) throws UserException;
    String addTraphBackupTask(BoActionContext actionContext, TraphBackupTask task) throws UserException;
    void modifyTraphBackupTask(BoActionContext actionContext, TraphBackupTask task) throws UserException;
    TraphBackupTask getTraphBackupTaskByCuid(BoActionContext actionContext, TraphBackupTask task) throws UserException;
    DataObjectList getAllTraphBackupTask(BoActionContext actionContext) throws UserException;
    DboCollection getTaskByDo(BoQueryContext queryContext, QueryDDFCheckTaskDO queryDDFCheckTaskDO) throws Exception;
    void addTraphToTraphPropertyBackup(BoActionContext actionContext, Traph traph) throws UserException;
    void modifyTraphBackupByTraph(BoActionContext actionContext, Traph traph) throws UserException;
    void deleteTraphBackupByTraph(BoActionContext actionContext, Traph traph) throws UserException;
}
